#pragma once
#include <Dbt.h>
#include <setupapi.h>
#include<string>
#include <algorithm>
#include <comdef.h>
#include "DevCommon.h"

using namespace std;

class CRetrieveUSBDeviceInfo
{
public:
	CRetrieveUSBDeviceInfo(void);
	virtual ~CRetrieveUSBDeviceInfo(void);

public:
	BOOL GetSpecificUSBDevInfo(PDEV_BROADCAST_DEVICEINTERFACE_A pDeviceInterface, DevOutputInfo & DevOutInformation);
	BOOL FindDevice( HDEVINFO hDevInfo, LPCTSTR pszDevId, SP_DEVINFO_DATA& pDevInfoData);
};
